Skip to main content

mobileStopTrackingSensor

Type

command

Summary

Stops listening for readings from the named sensor.

Syntax

mobileStopTrackingSensor <sensor>

Description

Use the mobileStopTrackingSensor command to stop listening for readings from a sensor.

The mobileStopTrackingSensor command stops listening for readings from the named sensor.

Parameters

NameTypeDescription

sensor

enum

The name of the sensor you wish to stop using

Examples

mobileStopTrackingSensor "location"

command: mobileStartTrackingSensor

function: mobileCanTrackHeading, mobileCanTrackLocation, mobileCurrentHeading, mobileSensorReading, mobileCurrentLocation

message: headingChanged, accelerationChanged, locationChanged, rotationRateChanged, trackingError

Compatibility and Support

Introduced

LiveCode 5.5

OS

ios

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?